<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
		<title>我的资料</title>
		<link rel="stylesheet" href="http://hd.com/project/hdphp_fk_cms/Static/Index/css/fk.css" />
		<link rel="stylesheet" href="http://hd.com/project/hdphp_fk_cms/Static/Index/css/myOrder.css" />
		<link rel="stylesheet" type="text/css" href="http://hd.com/project/hdphp_fk_cms/Static/Index/css/success.css" />
		<link rel="stylesheet" type="text/css" href="http://hd.com/project/hdphp_fk_cms/Static/Index/css/myInfo.css" />
		<script type="text/javascript" src="http://hd.com/project/hdphp_fk_cms/Static/js/jquery-1.8.2.min.js"></script>
		<script type="text/javascript" src="http://hd.com/project/hdphp_fk_cms/Static/Index/js/list.js"></script>
		<script type="text/javascript">
			 //商品规格ajax地址
			var ajaxUrl = "<?php echo U('Index/Details/ajaxGetSpec');?>";
			 //购物车地址
			var cartUrl = "<?php echo U('Index/Cart/index');?>";
			 //获取购物车ajax地址
			var ajaxCartUrl = "<?php echo U('Index/Cart/ajaxGetCart');?>";
			 //我的购物车ajax地址
			var ajaxMyCartUrl = "<?php echo U('Index/Details/ajaxMyCart');?>";
			var ROOT = "http://hd.com/project/hdphp_fk_cms";
		</script>
		<hdjs/>
		<bootstrap/>
	</head>

	<body>
	
		<!--载入公共页面头部区域-->
		<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!-- 共用头部开始 -->
        <div id="head">
            <div class="header">
                <div class="headerArea">
                    <!-- 顶部左侧 -->
                    <ul class="headerTopLeft">
                        <!--如果用户已经登录就显示-->
                            <?php if($hd['session']['uname']!==NULL){ ?>
                            <li>您好,
                                <a href="" class="name">
                                    <?php echo $hd['session']['uname'];?>
                                </a>
                            </li>
                            <li class="myVancl1"><a href="<?php echo U('Login/out');?>">退出登陆</a><span class="shu">|</span><a href="<?php echo U('Index/Login/index');?>">更换用户</a></li>
                            <?php }else{ ?>
                            <li>您好,欢迎光临凡客诚品！</li>
                            <!--默认跳转到index.phpc=Login执行login控制器，a=index执行index方法    注册：默认跳转index.phpc=Register执行Register控制器，a=index,默认执行index方法-->
                            <li class="myVancl"><a href="<?php echo U('Login/index');?>">登陆</a><span class="shu">|</span><a href="<?php echo U('Register/index');?>">注册</a></li>
                        <?php } ?>
                        <li class="myVancl"><a href="">我的订单</a></li>
                        <li class="myVancl"><a href="">收藏本站</a></li>
                    </ul>
                    <!-- 顶部右侧 -->
                    <div class="headerTopRight">
                        <div class="headerTopRight_fanke" id="b">
                            <a href="" class="a_hover">我的凡客</a>
                            <span class="triangle"></span>
                            <ul class="my_fk" id="n">
                                <a href="<?php echo U('Center/index');?>" class="a_hover">我的凡客</a><span class="triangle"></span>
                                <li>
                                    <a href="<?php echo U('Center/index');?>" class="a_d">我的订单</a></li>
                                <li>
                                    <a href="<?php echo U('MyAddress/index');?>" class="a_d1">我的收货地址</a></li>
                            </ul>
                        </div>
                        <div class="headerTopRight_daohang" id="b">
                            <a href="" class="a_hover">网站导航</a>
                            <span class="triangle"></span>
                            <ul class="my_fk" id="n">
                                <a href="" class="a_hover">网站导航</a><span class="triangle"></span>
                                <li>
                                    <a href="" class="a_d">网站联盟</a></li>
                            </ul>
                        </div>
                        <div class="headerTopRight_bangzhu" id="b">
                            <a href="" class="a_hover">帮助中心</a>
                            <span class="triangle"></span>
                            <ul class="my_fk" id="n">
                                <a href="" class="a_hover">帮助中心</a><span class="triangle"></span>
                                <li>
                                    <a href="" class="a_d gouwu">购物指南</a>
                                </li>
                                <li>
                                    <a href="" class="a_d1 peisong">配送方式</a>
                                </li>
                                <li>
                                    <a href="" class="a_d2 zhifu">支付方式</a>
                                </li>
                                <li>
                                    <a href="" class="a_d3 shouhou">售后服务</a>

                                    <a href="" class="a_d4 tousu">投诉建议</a>

                                    <a href="" class="a_d5 kefu">在线客服</a>
                                </li>
                            </ul>
                        </div>
                        <div class="headerTopRight_gonggao" id="b">
                            <a href="" class="a_hover">网站公告</a>
                            <span class="triangle"></span>
                            <ul class="my_fk" id="n">
                                <a href="" class="a_hover">网站公告</a><span class="triangle"></span>
                                <li>
                                    <a href="" class="a_d zhongyao">网站公告</a>
                                </li>
                                <li>
                                    <a href="" class="a_d1 zhongyaotishi">重要提示</a>
                                </li>
                                <li>
                                    <a href="" class="a_d2 zhifutongzhi">支付通知</a>
                                </li>
                                <li>
                                    <a href="" class="a_d3 huiyuangonggao">会员公告</a>
                                </li>

                            </ul>
                        </div>
                        <div class="headerTopRight_shouji">
                            <a href="" class="a_hover">手机凡客</a>
                            <span class="triangle"></span>
                        </div>
                        <div class="headerTopRight_kefu">
                            <a href="" class="a_hover">在线客服</a>
                            <span class="triangle"></span>
                        </div>
                        <div class="headerTopRight_weixin">
                            <a href="" id="weixin1"><img src="http://hd.com/project/hdphp_fk_cms/Static/Index/images/w1.jpg" alt="" /></a>
                            <a href=""><img src="http://hd.com/project/hdphp_fk_cms/Static/Index/images/w2.jpg" alt="" /></a>
                            <span id="weixin" style="display:none;"><img src="http://hd.com/project/hdphp_fk_cms/Static/Index/images/weixin.png" alt="" /></span>
                        </div>
                    </div>
                    <!-- headerTopRight -->

                </div>
            </div>
            <!-- 顶部左侧logo -->
            <div id="logoArea">
                <div class="VanclLogo">
                    <a href="<?php echo U('Index/Index');?>" class="track"></a>
                </div>
                <!-- 顶部右侧搜索条 -->
                <div class="VanclSearch">
                    <div class="SearchTab">
                        <!-- 搜索框开始 -->
                        <div class="Search">
                            <form action="" method="post">
                                <input type="text" class="SearchText" placeholder="搜“卡其裤”，体验与众不同" />
                                <input type="submit" class="Searchbtn" value="搜索" />
                            </form>

                        </div>
                        <!-- 搜索框结束 -->
                        <!-- 购物车 -->
                        <div class="shoppingcar" id="shoppingcar">
                            <a class="shopping">&nbsp;&nbsp;&nbsp;购物车(0)</a>
                            <span class="shopping_h" id="shopping_h">您的购物车没有任何商品</span>
                        </div>
                        <!-- 购物车结束 -->
                    </div>

                    <div class="HotSearch">
                        <p>
                            热门搜索：
                            <a href="">吉国武</a>
                            <a href="">T恤</a>
                            <a href="">卡其裤</a>
                            <a href="">长场雄</a>
                            <a href="">POLO</a>
                            <a href="">麻</a>
                            <a href="">牛仔</a>
                            <a href="">皮肤衣</a>
                            <a href="">牛津纺</a>
                        </p>
                    </div>
                </div>
                <!-- 顶部右侧搜索条结束 -->
            </div>
            <!-- 顶部logo结束 -->

            <!-- 全部商品分类 -->
            <div id="mainBox">
                <div class="allProduct">
                    <a href="javascript:;" class="fl">全部商品分类</a>
                </div>
                <!-- 右侧导航开始 -->
                <ul class="category">
                    <?php foreach ($cataData as $k=>$v){?>
                        <li class="item itempic"><a href="<?php echo U('List/index',array('cid'=>$v['cid']));?>" class="track"><?php echo $v['name'];?></a>
                            <!--隐藏分类商品开始-->
                            <div class="con">
                                <?php foreach ($v['son'] as $kk=>$vv){?>
                                    <div class="pic_content">
                                        <div class="pic">
                                            <a href="<?php echo U('Index/Content/index',array('gid'=>$vv['gid'],'type_tid'=>$vv['type_tid']));?>">
                                                <img src="http://hd.com/project/hdphp_fk_cms/<?php echo $vv['pic'];?>" alt="" />
                                            </a>
                                        </div>
                                        <div class="content">
                                            <h3><a href="<?php echo U('Index/Content/index',array('gid'=>$vv['gid'],'type_tid'=>$vv['type_tid']));?>"><?php echo $vv['gname'];?></a></h3>
                                            <span>￥<?php echo $vv['shop_price'];?></span>
                                        </div>
                                    </div>
                                <?php }?>
                            </div>              
                            <!--隐藏分类商品结束-->        
                        </li>
                    <?php }?>
                </ul>
                <!-- 右侧导航结束 -->
            </div>
            <!-- 全部商品分类结束 -->
        </div>
        <!-- 共用头部结束 -->
		<!--个人中心区域-->
		<div id="wrapper">
			<!--载入左侧公共部分-->
			<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
	<div class="side-nav">
		<div class="my_vancl">
			<h2>
				<a href="<?php echo U('Index/MyVancl/index');?>">我的凡客</a>
			</h2>
		</div>
		<ul>
			<li>
				<h3>订单中心</h3>
			</li>
			<li>
				<a href="<?php echo U('Index/MyOrder/index');?>">·我的订单</a>
			</li>
		</ul>
		<ul>
			<li>
				<h3>客服服务</h3>
			</li>
			<li>
				<a href="<?php echo U('Index/Comment/index');?>">·我要评价</a>
			</li>
			<li>
				<a href="">·商品提问</a>
			</li>
		</ul>
		<ul>
			<li>
				<h3>账户管理</h3>
			</li>
			<li>
				<a href="<?php echo U('Index/MyAddress/index');?>">·收货地址</a>
			</li>
			<li>
				<a href="<?php echo U('Index/MyInfo/index');?>">·我的资料</a>
			</li>
		</ul>
	</div>
			
			<!--中间区域开始-->
			<div class="MyRight">
				<div class="ordertitle">
					<h3><span>我的资料</span></h3>
				</div>
		
				<ul class='title_header clearfix'>
					<li class='active'>基本资料</li>
					<!--<li>详细资料</li>-->
				</ul>
		
				<div class='container clearfix'>
		            <form action="<?php echo U('MyInfo/addData');?>" method="post" enctype="multipart/form-data">
    					<div class="detail">
    						<div class="header_btn">
    							<label>
    								<input type="radio" name="image" id="" value="" />选择图像</label>
    							<label>
    								<input type="radio" name="image" id="" value="" />上传图像</label>
    						</div>
    						<ul class="imgs">
    							<li><img src="http://hd.com/project/hdphp_fk_cms/Static/Index/images/MyInfo/pic1.jpg" alt="" /></li>
    							<li><img src="http://hd.com/project/hdphp_fk_cms/Static/Index/images/MyInfo/pic2.jpg" alt="" /></li>
    							<li><img src="http://hd.com/project/hdphp_fk_cms/Static/Index/images/MyInfo/pic3.jpg" alt="" /></li>
    							<li><img src="http://hd.com/project/hdphp_fk_cms/Static/Index/images/MyInfo/pic4.jpg" alt="" /></li>
    							<li><img src="http://hd.com/project/hdphp_fk_cms/Static/Index/images/MyInfo/pic5.jpg" alt="" /></li>
    							<li><img src="http://hd.com/project/hdphp_fk_cms/Static/Index/images/MyInfo/pic6.jpg" alt="" /></li>
    							<li><img src="http://hd.com/project/hdphp_fk_cms/Static/Index/images/MyInfo/pic7.jpg" alt="" /></li>
    							<li><img src="http://hd.com/project/hdphp_fk_cms/Static/Index/images/MyInfo/pic8.jpg" alt="" /></li>
    							<li><img src="http://hd.com/project/hdphp_fk_cms/Static/Index/images/MyInfo/pic9.jpg" alt="" /></li>
    							<li><img src="http://hd.com/project/hdphp_fk_cms/Static/Index/images/MyInfo/pic10.jpg" alt="" /></li>
    							<li><img src="http://hd.com/project/hdphp_fk_cms/Static/Index/images/MyInfo/pic11.jpg" alt="" /></li>
    							<li><img src="http://hd.com/project/hdphp_fk_cms/Static/Index/images/MyInfo/pic12.jpg" alt="" /></li>
    						</ul>
    						<ul class="imgs" style="display: none;">
    							<li>
    								<input type="file" name="" value='上传文件' />
    							</li>
    							<li><img src="" alt="" width="300" height="300" /></li>
    						</ul>
    						<div class="Yc">
    						        <?php if($MyInfodata['uface']==''){ ?>
    							<div id="proImg">
    								<img src="http://hd.com/project/hdphp_fk_cms/Static/Index/images/MyInfo/vancl300.jpg" width="100px" alt="" />
    							</div>
    							<?php }else{ ?>
    							<div id="proImg">
                                    <img src="<?php echo $MyInfodata['uface'];?>" width="100px" alt="" />    
                                </div>
    							<?php } ?>
    							<p>
    								设置个性化头像
    								<br />
    								展现你的与众不同!
    							</p>
    							<a href="javascript:;" id='img_btn'>
    									<img src="http://hd.com/project/hdphp_fk_cms/Static/Index/images/savebtn.jpg" alt="" />
    							</a>
    						</div>
    		
    						<table border="0" cellspacing="0" cellpadding="0">
    							<tr>
    								<td>*昵称</td>
    								<td>
    									<input type="" name="nickname" id="" value="<?php echo $MyInfodata['nickname'];?>" />
    								</td>
    							</tr>
    							<tr>
    								<td>*性 别</td>
    								<td>
    									<label>
    										<input type="radio" name="sex" id="" value="男" class="sele"     <?php if($MyInfodata['sex']=='男'){ ?>checked="checked"<?php } ?>/>男</label>
    									<label>
    										<input type="radio" name="sex" id="" value="女" class="sele"     <?php if($MyInfodata['sex']=='女'){ ?>checked="checked"<?php } ?>/>女</label>
    								</td>
    							</tr>
    		
    							<tr>
    								<td>*出生日期</td>
    								<td>
    									<input type="" name="birthday" id="" value="<?php echo $MyInfodata['birthday'];?>" />
    								</td>
    							</tr>
    							<tr>
    								<td>*详细地址</td>
    								<td>
    									<input type="" name="address" id="" value="<?php echo $MyInfodata['address'];?>" />
    								</td>
    							</tr>
    							<tr>
    								<td>*电话</td>
    								<td>
    									<input type="" name="mobile" id="" value="<?php echo $MyInfodata['mobile'];?>" />
    								</td>
    							</tr>
    							<tr>
    								<td></td>
    								<td>
    								    <input type="hidden" name="uface" id="uface" value="<?php echo $MyInfodata['uface'];?>"/>
    									<input type="submit" value='' class='btn_submit' />
    									 
    								</td>
    							</tr>
    						</table>	
    					</div>
		            </form>
					<!--<div class="detail" style="display: none;">
						<table border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td>婚姻状况:</td>
								<td>
									<select name="">
										<option value="">请选择</option>
										<option value="">已婚</option>
										<option value="" selected="selected">未婚</option>
										<option value="">单身</option>
									</select>
								</td>
							</tr>
							<tr>
								<td>教育程度:</td>
								<td>
									<select name="">
										<option value="">高中及一下</option>
										<option value="">大专</option>
										<option value="">本科</option>
										<option value="">博士</option>
									</select>
								</td>
							</tr>
							<tr>
								<td>从事职业:</td>
								<td>
									<select name="">
										<option value="">企业雇主/企业经营者</option>
										<option value="">高级行政人员</option>
										<option value="">中层管理人员</option>
										<option value="">办公室人员</option>
										<option value="">工人/蓝领</option>
										<option value="">军人</option>
										<option value="">学生</option>
										<option value="">自由职业者</option>
										<option value="">其他</option>
									</select>
								</td>
							</tr>
							<tr>
								<td>工作所属行业:</td>
								<td>
									<select name="">
										<option value=""></option>
									</select>
								</td>
							</tr>
							<tr>
								<td>月均收入:</td>
								<td>
									<select name="">
										<option value="">5000元以下</option>
										<option value="">5000-10000</option>
										<option value="">10000-30000</option>
										<option value="">30000-50000</option>
										<option value="">50000以上</option>
									</select>
								</td>
							</tr>
		
							<tr>
								<td>兴趣爱好:</td>
								<td>
									<textarea name="" rows="5" cols="30"></textarea>
								</td>
							</tr>
		
							<tr>
								<td>自我介绍:</td>
								<td>
									<textarea name="" rows="5" cols="30"></textarea>
								</td>
							</tr>
							<tr>
								<td></td>
								<td>
									<input type="submit" value="" class='btn_submit' />
								</td>
							</tr>
						</table>
		               
					</div>-->
		              
				</div>
			</div>
		</div>
		<!--中间区域结束-->

		<!--载入公共页面底部区域-->
		<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!-- 底部开始 -->
<div id="bottom">
	<div class="b">
		<div class="bottomArea">
			<dl>
				<dt>关于凡客</dt>
				<dd><a href="">公司简介</a></dd>
				<dd><a href="">联系我们</a></dd>
				<dd><a href="">友情链接</a></dd>
			</dl>
			<dl>
				<dt>新手指南</dt>
				<dd><a href="">账户注册</a></dd>
				<dd><a href="">购物流程</a></dd>
				<dd><a href="">网站地图</a></dd>
				<dd><a href="">商家入驻</a></dd>
			</dl>
			<dl>
				<dt>配送范围及时间</dt>
				<dd><a href="">国内配送</a></dd>
				<dd><a href="">订单拆分</a></dd>
			</dl>
			<dl>
				<dt>支付方式</dt>
				<dd><a href="">货到付款</a></dd>
				<dd><a href="">在线支付</a></dd>
				<dd><a href="">礼品卡及账户余额</a></dd>
				<dd><a href="">其他支付方式</a></dd>
			</dl>
			<dl>
				<dt>退换货</dt>
				<dd><a href="">退换货办理流程</a></dd>
				<dd><a href="">退换货网上办理</a></dd>
				<dd><a href="">退款说明</a></dd>
				<dd><a href="">调查问卷</a></dd>
			</dl>
			<dl style="border-right:none;">
				<dt>帮助中心</dt>
				<dd><a href="">在线客服</a></dd>
				<dd><a href="">找回密码</a></dd>
				<dd><a href="">隐私声明</a></dd>
			</dl>
		</div>
		<!-- 退换货 -->
		<ul class="Return">
			<li>
				<a href="" class="returnProduct1"></a>
			</li>
			<li>
				<a href="" class="returnProduct2"></a>
			</li>
			<li>
				<a href="" class="returnProduct3"></a>
			</li>
			<li>
				<a href="" class="returnProduct4"></a>
			</li>
		</ul>
		<!-- 退换货结束 -->
	</div>
</div>
<!-- 许可证 -->
<div id="licence">
	<p>Copyright 2007 - 2014 vancl.com All Rights Reserved 京ICP证100557号 京公网安备11011502002400号 出版物经营许可证新出发京批字第直110138号</p>
	<div class="icon">
		<a href=""><img src="" alt="" class="pic1" /></a>
		<span class="pic2"></span>
		<a href=""><img src="" alt="" class="pic3" /></a>
		<a href=""><img src="" alt="" class="pic4" /></a>
		<a href=""><img src="" alt="" class="pic5" /></a>
	</div>
</div>

<!-- 许可证结束 -->
<!-- 图标 -->

<!-- 底部结束 -->
</body>

</html>

		<script type="text/javascript">
			$(function() {
				//选择图像
				$('.imgs li').click(function() {
						var src = $(this).find('img').attr('src');
						$('#proImg').find('img').attr('src', src);
						$('#uface').val(src);
					})
				$('#img_btn').click(function(){
				    var src = $('#proImg').find('img').attr('src');
				    $('#uface').val(src);   
				})
					//资料切换
				$('.title_header li').click(function() {
						var i = $(this).index();
						$(this).addClass('active').siblings('li').removeClass('active');
						$('.detail').eq(i).css({
							'display': 'block'
						}).siblings('.detail').css({
							'display': 'none'
						})
					})
					//上传类型选择
				$('.header_btn label').click(function() {
					var i = $(this).index();
					$('.imgs').eq(i).css('display', 'block').siblings('.imgs').css('display', 'none');
				})
			})
		</script>
		</head>

</html>